package com.Extends.Interface.Demo;

public class BasketballPlayer extends Player{
    public BasketballPlayer() {
    }

    public BasketballPlayer(String name, int age) {
        super(name, age);
    }
    public void study(){
        System.out.println("篮球运动员需要学习");
    }
    public void eat(){
        System.out.println("篮球运动员需要吃饭");
    }
}
